projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4fe575
)
[IA64] enabling hypercalls from VT-i domain
author
awilliam@xenbuild.aw
<awilliam@xenbuild.aw>
Thu, 3 Aug 2006 16:44:23 +0000
(10:44 -0600)
committer
awilliam@xenbuild.aw
<awilliam@xenbuild.aw>
Thu, 3 Aug 2006 16:44:23 +0000
(10:44 -0600)
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen/arch/ia64/xen/hypercall.c
patch
|
blob
|
history
diff --git
a/xen/arch/ia64/xen/hypercall.c
b/xen/arch/ia64/xen/hypercall.c
index 20ab2ecda344133188c124fe73753667cc0c7b58..e7d5e32f3e6290fefbaec4a7cf6fca10d999005c 100644
(file)
--- a/
xen/arch/ia64/xen/hypercall.c
+++ b/
xen/arch/ia64/xen/hypercall.c
@@
-319,7
+319,7
@@
ia64_hypercall (struct pt_regs *regs)
/* Hypercalls are only allowed by kernel.
Kernel checks memory accesses. */
- if (
privlvl != 2
) {
+ if (
VMX_DOMAIN(v) ? (privlvl != 0) : (privlvl != 2)
) {
/* FIXME: Return a better error value ?
Reflection ? Illegal operation ? */
regs->r8 = -1;